package com.tpshion.cloud.auth.mapper;

import com.tpshion.cloud.auth.domain.entity.Role;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author tpshion
 * @since 2021-01-20
 */
public interface RoleMapper extends BaseMapper<Role> {

    Role getByUserId(@Param("userId") String userId);

}
